package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Category;
import java.util.List;

/**
 * 操作商品分类相关数据接口
 */
public interface CategoryMapper extends BaseMapper<Category> {

    int updateById(Category category);

    Category selectById(Integer id);

    List<Category> selectAll(Category category);

}